The GtkRecentAction implementation ignored a GtkRecentManager passed to
its :manager property.
https://bugzilla.gnome.org/show_bug.cgi?id=620065
GtkRecentActionPrivate *priv = action->priv;
if (manager)
- priv->manager = NULL;
+ priv->manager = manager;
else
priv->manager = gtk_recent_manager_get_default ();
}
GtkRecentAction *action = GTK_RECENT_ACTION (gobject);
GtkRecentActionPrivate *priv = action->priv;
- priv->manager = NULL;
-
if (priv->data_destroy)
{
priv->data_destroy (priv->sort_data);
priv->current_filter = NULL;
}
+ priv->manager = NULL;
+
G_OBJECT_CLASS (gtk_recent_action_parent_class)->dispose (gobject);
}